/// id : "1839547767842062395"
/// isDel : 0
/// createBy : "18735361162"
/// updateBy : null
/// createTime : 1727417339
/// updateTime : 1727417339
/// title : "测试消息任务"
/// description : "测试消息任务描述"
/// subId : "578025145495453803"
/// info : "[{\"type\":1,\"required\":false,\"textInput\":\"姓名\",\"textinputplaceholder\":\"待填写者输入\",\"value\":\"\",\"borderShow\":false}]"
/// lon : "-1"
/// lat : "-1"
/// address : "-1"
/// startTime : "-1"
/// endTime : "-1"
/// status : -1
/// intellId : "-1"
/// taskType : 4
/// sysType : "YJ_LINYE"
/// attributionCode : null
/// attributionTargetId : null
/// attributionTargetIdMap : null
/// attributionTagetName : null
/// groupIds : null
/// userIds : null
/// userList : null
/// idcardList : null
/// icon : null
/// table_name : null
/// name : "测试消息任务"
/// teamList : null
/// teamTypeList : null
/// submitDate : "2024年09月27日 14:08:59"
/// taskSourceUserName : "我发起"
/// taskSourceUserHeadImg : null
/// type : "mySendTask"
/// showType : "viewStatistics"
/// finishNum : 0
/// allNum : 2
/// tssId : "1839547770098597913"
/// content : [{"textInput":"姓名","textinputplaceholder":"待填写者输入","type":1,"borderShow":false,"value":"","required":false}]
/// isTemplate : null

class OrganizationStatisticsTaskItemDto {
  OrganizationStatisticsTaskItemDto({
      String? id, 
      num? isDel, 
      String? createBy, 
      dynamic updateBy, 
      num? createTime, 
      num? updateTime, 
      String? title, 
      String? description, 
      String? subId, 
      String? info, 
      String? lon, 
      String? lat, 
      String? address, 
      String? startTime, 
      String? endTime, 
      num? status, 
      String? intellId, 
      num? taskType, 
      String? sysType, 
      dynamic attributionCode, 
      dynamic attributionTargetId, 
      dynamic attributionTargetIdMap, 
      dynamic attributionTagetName, 
      dynamic groupIds, 
      dynamic userIds, 
      dynamic userList, 
      dynamic idcardList, 
      dynamic icon, 
      dynamic tableName, 
      String? name, 
      dynamic teamList, 
      dynamic teamTypeList, 
      String? submitDate, 
      String? taskSourceUserName, 
      dynamic taskSourceUserHeadImg, 
      String? type, 
      String? showType, 
      num? finishNum, 
      num? allNum, 
      String? tssId, 
      List<Content>? content, 
      dynamic isTemplate,}){
    _id = id;
    _isDel = isDel;
    _createBy = createBy;
    _updateBy = updateBy;
    _createTime = createTime;
    _updateTime = updateTime;
    _title = title;
    _description = description;
    _subId = subId;
    _info = info;
    _lon = lon;
    _lat = lat;
    _address = address;
    _startTime = startTime;
    _endTime = endTime;
    _status = status;
    _intellId = intellId;
    _taskType = taskType;
    _sysType = sysType;
    _attributionCode = attributionCode;
    _attributionTargetId = attributionTargetId;
    _attributionTargetIdMap = attributionTargetIdMap;
    _attributionTagetName = attributionTagetName;
    _groupIds = groupIds;
    _userIds = userIds;
    _userList = userList;
    _idcardList = idcardList;
    _icon = icon;
    _tableName = tableName;
    _name = name;
    _teamList = teamList;
    _teamTypeList = teamTypeList;
    _submitDate = submitDate;
    _taskSourceUserName = taskSourceUserName;
    _taskSourceUserHeadImg = taskSourceUserHeadImg;
    _type = type;
    _showType = showType;
    _finishNum = finishNum;
    _allNum = allNum;
    _tssId = tssId;
    _content = content;
    _isTemplate = isTemplate;
}

  OrganizationStatisticsTaskItemDto.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _createBy = json['createBy'];
    _updateBy = json['updateBy'];
    _createTime = json['createTime'];
    _updateTime = json['updateTime'];
    _title = json['title'];
    _description = json['description'];
    _subId = json['subId'];
    _info = json['info'];
    _lon = json['lon'];
    _lat = json['lat'];
    _address = json['address'];
    _startTime = json['startTime'];
    _endTime = json['endTime'];
    _status = json['status'];
    _intellId = json['intellId'];
    _taskType = json['taskType'];
    _sysType = json['sysType'];
    _attributionCode = json['attributionCode'];
    _attributionTargetId = json['attributionTargetId'];
    _attributionTargetIdMap = json['attributionTargetIdMap'];
    _attributionTagetName = json['attributionTagetName'];
    _groupIds = json['groupIds'];
    _userIds = json['userIds'];
    _userList = json['userList'];
    _idcardList = json['idcardList'];
    _icon = json['icon'];
    _tableName = json['table_name'];
    _name = json['name'];
    _teamList = json['teamList'];
    _teamTypeList = json['teamTypeList'];
    _submitDate = json['submitDate'];
    _taskSourceUserName = json['taskSourceUserName'];
    _taskSourceUserHeadImg = json['taskSourceUserHeadImg'];
    _type = json['type'];
    _showType = json['showType'];
    _finishNum = json['finishNum'];
    _allNum = json['allNum'];
    _tssId = json['tssId'];
    if (json['content'] != null) {
      _content = [];
      json['content'].forEach((v) {
        _content?.add(Content.fromJson(v));
      });
    }
    _isTemplate = json['isTemplate'];
  }
  String? _id;
  num? _isDel;
  String? _createBy;
  dynamic _updateBy;
  num? _createTime;
  num? _updateTime;
  String? _title;
  String? _description;
  String? _subId;
  String? _info;
  String? _lon;
  String? _lat;
  String? _address;
  String? _startTime;
  String? _endTime;
  num? _status;
  String? _intellId;
  num? _taskType;
  String? _sysType;
  dynamic _attributionCode;
  dynamic _attributionTargetId;
  dynamic _attributionTargetIdMap;
  dynamic _attributionTagetName;
  dynamic _groupIds;
  dynamic _userIds;
  dynamic _userList;
  dynamic _idcardList;
  dynamic _icon;
  dynamic _tableName;
  String? _name;
  dynamic _teamList;
  dynamic _teamTypeList;
  String? _submitDate;
  String? _taskSourceUserName;
  dynamic _taskSourceUserHeadImg;
  String? _type;
  String? _showType;
  num? _finishNum;
  num? _allNum;
  String? _tssId;
  List<Content>? _content;
  dynamic _isTemplate;
OrganizationStatisticsTaskItemDto copyWith({  String? id,
  num? isDel,
  String? createBy,
  dynamic updateBy,
  num? createTime,
  num? updateTime,
  String? title,
  String? description,
  String? subId,
  String? info,
  String? lon,
  String? lat,
  String? address,
  String? startTime,
  String? endTime,
  num? status,
  String? intellId,
  num? taskType,
  String? sysType,
  dynamic attributionCode,
  dynamic attributionTargetId,
  dynamic attributionTargetIdMap,
  dynamic attributionTagetName,
  dynamic groupIds,
  dynamic userIds,
  dynamic userList,
  dynamic idcardList,
  dynamic icon,
  dynamic tableName,
  String? name,
  dynamic teamList,
  dynamic teamTypeList,
  String? submitDate,
  String? taskSourceUserName,
  dynamic taskSourceUserHeadImg,
  String? type,
  String? showType,
  num? finishNum,
  num? allNum,
  String? tssId,
  List<Content>? content,
  dynamic isTemplate,
}) => OrganizationStatisticsTaskItemDto(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  createBy: createBy ?? _createBy,
  updateBy: updateBy ?? _updateBy,
  createTime: createTime ?? _createTime,
  updateTime: updateTime ?? _updateTime,
  title: title ?? _title,
  description: description ?? _description,
  subId: subId ?? _subId,
  info: info ?? _info,
  lon: lon ?? _lon,
  lat: lat ?? _lat,
  address: address ?? _address,
  startTime: startTime ?? _startTime,
  endTime: endTime ?? _endTime,
  status: status ?? _status,
  intellId: intellId ?? _intellId,
  taskType: taskType ?? _taskType,
  sysType: sysType ?? _sysType,
  attributionCode: attributionCode ?? _attributionCode,
  attributionTargetId: attributionTargetId ?? _attributionTargetId,
  attributionTargetIdMap: attributionTargetIdMap ?? _attributionTargetIdMap,
  attributionTagetName: attributionTagetName ?? _attributionTagetName,
  groupIds: groupIds ?? _groupIds,
  userIds: userIds ?? _userIds,
  userList: userList ?? _userList,
  idcardList: idcardList ?? _idcardList,
  icon: icon ?? _icon,
  tableName: tableName ?? _tableName,
  name: name ?? _name,
  teamList: teamList ?? _teamList,
  teamTypeList: teamTypeList ?? _teamTypeList,
  submitDate: submitDate ?? _submitDate,
  taskSourceUserName: taskSourceUserName ?? _taskSourceUserName,
  taskSourceUserHeadImg: taskSourceUserHeadImg ?? _taskSourceUserHeadImg,
  type: type ?? _type,
  showType: showType ?? _showType,
  finishNum: finishNum ?? _finishNum,
  allNum: allNum ?? _allNum,
  tssId: tssId ?? _tssId,
  content: content ?? _content,
  isTemplate: isTemplate ?? _isTemplate,
);
  String? get id => _id;
  num? get isDel => _isDel;
  String? get createBy => _createBy;
  dynamic get updateBy => _updateBy;
  num? get createTime => _createTime;
  num? get updateTime => _updateTime;
  String? get title => _title;
  String? get description => _description;
  String? get subId => _subId;
  String? get info => _info;
  String? get lon => _lon;
  String? get lat => _lat;
  String? get address => _address;
  String? get startTime => _startTime;
  String? get endTime => _endTime;
  num? get status => _status;
  String? get intellId => _intellId;
  num? get taskType => _taskType;
  String? get sysType => _sysType;
  dynamic get attributionCode => _attributionCode;
  dynamic get attributionTargetId => _attributionTargetId;
  dynamic get attributionTargetIdMap => _attributionTargetIdMap;
  dynamic get attributionTagetName => _attributionTagetName;
  dynamic get groupIds => _groupIds;
  dynamic get userIds => _userIds;
  dynamic get userList => _userList;
  dynamic get idcardList => _idcardList;
  dynamic get icon => _icon;
  dynamic get tableName => _tableName;
  String? get name => _name;
  dynamic get teamList => _teamList;
  dynamic get teamTypeList => _teamTypeList;
  String? get submitDate => _submitDate;
  String? get taskSourceUserName => _taskSourceUserName;
  dynamic get taskSourceUserHeadImg => _taskSourceUserHeadImg;
  String? get type => _type;
  String? get showType => _showType;
  num? get finishNum => _finishNum;
  num? get allNum => _allNum;
  String? get tssId => _tssId;
  List<Content>? get content => _content;
  dynamic get isTemplate => _isTemplate;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['createBy'] = _createBy;
    map['updateBy'] = _updateBy;
    map['createTime'] = _createTime;
    map['updateTime'] = _updateTime;
    map['title'] = _title;
    map['description'] = _description;
    map['subId'] = _subId;
    map['info'] = _info;
    map['lon'] = _lon;
    map['lat'] = _lat;
    map['address'] = _address;
    map['startTime'] = _startTime;
    map['endTime'] = _endTime;
    map['status'] = _status;
    map['intellId'] = _intellId;
    map['taskType'] = _taskType;
    map['sysType'] = _sysType;
    map['attributionCode'] = _attributionCode;
    map['attributionTargetId'] = _attributionTargetId;
    map['attributionTargetIdMap'] = _attributionTargetIdMap;
    map['attributionTagetName'] = _attributionTagetName;
    map['groupIds'] = _groupIds;
    map['userIds'] = _userIds;
    map['userList'] = _userList;
    map['idcardList'] = _idcardList;
    map['icon'] = _icon;
    map['table_name'] = _tableName;
    map['name'] = _name;
    map['teamList'] = _teamList;
    map['teamTypeList'] = _teamTypeList;
    map['submitDate'] = _submitDate;
    map['taskSourceUserName'] = _taskSourceUserName;
    map['taskSourceUserHeadImg'] = _taskSourceUserHeadImg;
    map['type'] = _type;
    map['showType'] = _showType;
    map['finishNum'] = _finishNum;
    map['allNum'] = _allNum;
    map['tssId'] = _tssId;
    if (_content != null) {
      map['content'] = _content?.map((v) => v.toJson()).toList();
    }
    map['isTemplate'] = _isTemplate;
    return map;
  }

}

/// textInput : "姓名"
/// textinputplaceholder : "待填写者输入"
/// type : 1
/// borderShow : false
/// value : ""
/// required : false

class Content {
  Content({
      String? textInput, 
      String? textinputplaceholder, 
      num? type, 
      bool? borderShow, 
      String? value, 
      bool? required,}){
    _textInput = textInput;
    _textinputplaceholder = textinputplaceholder;
    _type = type;
    _borderShow = borderShow;
    _value = value;
    _required = required;
}

  Content.fromJson(dynamic json) {
    _textInput = json['textInput'];
    _textinputplaceholder = json['textinputplaceholder'];
    _type = json['type'];
    _borderShow = json['borderShow'];
    _value = json['value'];
    _required = json['required'];
  }
  String? _textInput;
  String? _textinputplaceholder;
  num? _type;
  bool? _borderShow;
  String? _value;
  bool? _required;
Content copyWith({  String? textInput,
  String? textinputplaceholder,
  num? type,
  bool? borderShow,
  String? value,
  bool? required,
}) => Content(  textInput: textInput ?? _textInput,
  textinputplaceholder: textinputplaceholder ?? _textinputplaceholder,
  type: type ?? _type,
  borderShow: borderShow ?? _borderShow,
  value: value ?? _value,
  required: required ?? _required,
);
  String? get textInput => _textInput;
  String? get textinputplaceholder => _textinputplaceholder;
  num? get type => _type;
  bool? get borderShow => _borderShow;
  String? get value => _value;
  bool? get required => _required;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['textInput'] = _textInput;
    map['textinputplaceholder'] = _textinputplaceholder;
    map['type'] = _type;
    map['borderShow'] = _borderShow;
    map['value'] = _value;
    map['required'] = _required;
    return map;
  }

}